<div id="profil">
    <div style="float:left; width: 60%; padding: 1%;">
        <div style="height: 100px;">
        <ul style="text-align:left; list-style: none;">
            <li>
                <span style="font-weight:bold"><?php echo __('Pseudonyme :') ?></span>
                <span style="float:right"><?php echo  $sf_guard_user->getPseudo() ?></span>
            </li>
            <li>
                <span style="font-weight:bold"><?php echo __('E-mail :') ?></span>
                <span style="float:right"><?php echo $sf_guard_user->getEmailAddress() ?></span>
            </li>
            <?php if($sf_guard_user->getQuote() != NULL): ?>
            <li>
                <span style="font-weight:bold"><?php echo __('Citation :') ?></span>
                <span style="float:right"><?php echo $sf_guard_user->getQuote() ?></span>
            </li>
            <?php endif; ?>
            <li>
                <div title="<?php echo $sf_guard_user->isOnline() ? "En ligne" : "Hors ligne"?>" class="icon <?php echo $sf_guard_user->isOnline() ? "is-online" : "is-offline"?>"></div>
            </li>
        </ul>
        </div>
        <?php if($sf_guard_user->getSignature() != NULL): ?>
            <hr/>
            <div style="clear:both; width:100%; text-align:left; vertical-alig:top; padding: 5px;">
                <span class="bold">Signature :</span><br/>
                <?php echo $sf_guard_user->getParsedSignature(ESC_RAW) ?>
            </div>
        <?php endif;?>
    </div>
    <div style="float:right; width: 30%; overflow:auto;">
        <div class="avatar-bubble black-bg">
            <div class="avatar" data-bind="style: { backgroundImage: 'url('+playerAvatar+')' }" style="background-image: url('<?php echo $sf_guard_user->getAvatar() ?>')"></div>
            <div class="name daniel-font">
                <?php echo link_to($sf_guard_user->getPseudo(), "show_player", $sf_guard_user); ?>
            </div>
        </div>
        <?php if($sf_guard_user->getQuote() != NULL): ?><br/>
            <span style="font-size:12px; font-style: italic;"><?php echo $sf_guard_user->getQuote(); ?></span>
        <?php endif;?>
    </div>
</div>

